package com.dz.xjd.ui.contract;

import com.dz.xjd.bean.ProfessionBean;
import com.dz.xjd.ui.base.BaseModel;
import com.dz.xjd.ui.base.BasePresenter;
import com.dz.xjd.ui.base.BaseView;
import rx.Observable;

/**
 * Created by dz on 2017/7/31.
 */

public interface ProfessionContract {

    interface Model extends BaseModel {
        Observable<String> getProfessionData(String header, String params);
    }

    interface View extends BaseView {
        void returnProfessionData(ProfessionBean professionBean);

    }

    abstract static class Presenter extends BasePresenter<ProfessionContract.View, ProfessionContract.Model> {
        public abstract void getProfessionRequest(String header, String params);
    }
}
